package com.example.musicwebcon.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import com.example.musicwebcon.model.song;

@Repository
public interface songRepository extends CrudRepository<song,String> {
    Iterable<song> findByUserId(String userId);
    Iterable<song> findBySongListId(String songListId);
    void deleteBySongListId(String songListId);
}
